<?php
/**
 * 专区活动模型
*/

namespace app\common\model;

use think\model\concern\SoftDelete;

class ActivityArea extends Model
{
    use SoftDelete;
    public $softDelete = true;
    protected $name = 'activity_area';
    protected $autoWriteTimestamp = true;

    //可搜索字段
    protected $searchField = ['name','title',];

    //上下架：1-是；0-否获取器
public function getStatusTextAttr($value, $data)
{
    return self::BOOLEAN_TEXT[$data['status']];
}

    

    
}
